//系统首页
import React, { Component } from 'react';
import { Layout, Button } from 'antd';
//引入二级
// import Dashborad from './Pages/Dashboard/Dashboard'
// import Blindbox from './Pages/Blindbox/Blindbox'
import GoodsCate from './Pages/goodsCate/goodsCate'
//引入scss
import './Home.scss'

const { Header, Footer, Sider, Content } = Layout;


class Home extends Component {
    constructor(props) {
        super(props);
        this.state = {
        };
    }
    render() {
        return (
            <>
                <div className='home'>
                    <Layout style={{
                        height: '100vh'
                    }}>
                        <Sider width='15%' className='slider'>
                            Sider
                        </Sider>
                        <Layout>
                            <Header className='header'>Header</Header>
                            <Content className='content'>
                                {/* 二级界面 */}
                                <GoodsCate></GoodsCate>
                            </Content>
                            <Footer className='footer'>本系统由 <Button type="link">HashMart</Button> 开源免费版强力驱动</Footer>
                        </Layout>
                    </Layout>
                </div>
            </>
        );
    }
}

export default Home;